package com.burgeon.backend.SHOP.entity;

import java.math.BigDecimal;

public class BargainOrder {

    private String id;
    private String uid;
    private String bid;//所属砍价商品id
    private String username;
    private String userimg;
    private String oid;
    private Goods goods;
    private int need;//需要砍多少刀
    private int nowNeed;//砍了多少次
    private BigDecimal totalPrice;
    private BigDecimal balance;//剩余金额
    private String state;//状态 1正在砍价 2砍价完成 -1活动结束
    private String token;
    private String createTime;
    private String endTime;

    private String bargainBean;

    private String gid;
    private String code;
    private String type;

    private String store;
    private String address;





    public String getStore() {
        return store;
    }

    public void setStore(String store) {
        this.store = store;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getBargainBean() {
        return bargainBean;
    }

    public void setBargainBean(String bargainBean) {
        this.bargainBean = bargainBean;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getNowNeed() {
        return nowNeed;
    }

    public void setNowNeed(int nowNeed) {
        this.nowNeed = nowNeed;
    }

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserimg() {
        return userimg;
    }

    public void setUserimg(String userimg) {
        this.userimg = userimg;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public int getNeed() {
        return need;
    }

    public void setNeed(int need) {
        this.need = need;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public String toString() {
        return "BargainOrder{" +
                "id='" + id + '\'' +
                ", uid='" + uid + '\'' +
                ", bid='" + bid + '\'' +
                ", username='" + username + '\'' +
                ", userimg='" + userimg + '\'' +
                ", oid='" + oid + '\'' +
                ", goods=" + goods +
                ", need=" + need +
                ", nowNeed=" + nowNeed +
                ", totalPrice=" + totalPrice +
                ", balance=" + balance +
                ", state='" + state + '\'' +
                ", token='" + token + '\'' +
                ", createTime='" + createTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", bargainBean='" + bargainBean + '\'' +
                ", gid='" + gid + '\'' +
                ", code='" + code + '\'' +
                ", type='" + type + '\'' +
                ", store='" + store + '\'' +
                ", address='" + address + '\'' +

                '}';
    }
}
